x86: only print pages' mfn-s in dump_pageframe_info()
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 12 May 2008 09:16:18 +0000 (10:16 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 12 May 2008 09:16:18 +0000 (10:16 +0100)
Printing page_to_maddr() and page_to_mfn() of the same page is
redundant, and _p(page_to_maddr(page)) is even incorrect on x86/PAE.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/domain.c

index 2eaaea91a5c43c46f8d37c8d4a79cfede6a9756e..5c8fe5f557f72d23b741bf3d6512260067a01db1 100644 (file)
@@ -138,16 +138,16 @@ void dump_pageframe_info(struct domain *d)
     {
         list_for_each_entry ( page, &d->page_list, list )
         {
-            printk("    DomPage %p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
-                   _p(page_to_maddr(page)), _p(page_to_mfn(page)),
+            printk("    DomPage %p: caf=%08x, taf=%" PRtype_info "\n",
+                   _p(page_to_mfn(page)),
                    page->count_info, page->u.inuse.type_info);
         }
     }
 
     list_for_each_entry ( page, &d->xenpage_list, list )
     {
-        printk("    XenPage %p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
-               _p(page_to_maddr(page)), _p(page_to_mfn(page)),
+        printk("    XenPage %p: caf=%08x, taf=%" PRtype_info "\n",
+               _p(page_to_mfn(page)),
                page->count_info, page->u.inuse.type_info);
     }
 }